package com.atguigu.gulimall.product.fegin;

import com.atguigu.common.to.es.SkuEsModel;
import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
@FeignClient(name = "gulimall-search")
public interface SearchSaveFeginService {
    @PostMapping(value = "/search/save/escSave")
     R escSave(@RequestBody List<SkuEsModel> skuEsModel);
}
